package com.chinatelecom.telecollege.sellerrewarding.repository;

import com.chinatelecom.telecollege.sellerrewarding.Entity.area;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by lenovo on 2017/6/21.
 */
public interface areaRepo extends PagingAndSortingRepository<area, Integer> {
    area findByname(String name);
    List<area> findAll();
}
